--[[
	统计 result.txt 输出不匹配行数的关系
--]]


filename = "result.txt"

local file = io.open(filename,"r")

local line = 1
local v_start = 1
local v_end = 1

while (true) do
	local res_str = file:read()
	if(res_str == nil)
	then
		break
	end


	v_end = tonumber(res_str)
	if(v_start == v_end  or v_start == v_end - 1)
	then
		v_start = v_end
	else
		print(line);
		v_start = v_end
	end

	line = line + 1

end

file:close()

